package ch3;

import java.util.Scanner;

public class Prize {

	public static void main(String[] args) {
		// 90分以上有iphone13
		Scanner in = new Scanner(System.in);
		System.out.println("请输入张浩的java成绩：");
		int score = in.nextInt();
		boolean bigThan90 = score > 90;
		// 二选一
		if (bigThan90) {
			System.out.println("iphone13作为奖励");
		} else {
			System.out.println("惩罚蹲马步！");
		}
		// if (score > 90) {
		// System.out.println("ipone13作为奖励");
		// }
		System.out.println("下次继续努力");
	}

}
